package com.heima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_user")
public class User {
    //id 自增，不使用雪花算法
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer roleId;
    private String userName;
    private String loginName;
    private String password;
    private String secret;
    private String roleCode;
    private String mobile;
    private Long regionId;
    private String regionName;
    private Byte status;
    private String image;
}